package com.vca.common.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author Li
 * @description 订单根据商品属性分组vo类
 * @date 2023-02-09 10:11
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OrderGroupByAttrVo对象", description = "订单根据商品属性分组vo类")
public class OrderGroupByAttrVo implements Serializable {

    private static final long serialVersionUID = -7130418845639062161L;

    @ApiModelProperty(value = "子订单id")
    private String id;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "商品属性值")
    private String sku;

    @ApiModelProperty(value = "商品数量")
    private String payNum;

    @ApiModelProperty(value = "商品单价")
    private String price;

    @ApiModelProperty(value = "实际支付金额")
    private String payPrice;

    @ApiModelProperty(value = "商品id")
    private String productId;

    @ApiModelProperty(value = "课程ID/套课ID/讲座ID/展览ID")
    private String mainId;

    @ApiModelProperty(value = "订单类型:0-课程订单 1=套课订单 2=讲座订单 3=展览订单 4=商品订单")
    private String type;

    @ApiModelProperty(value = "排期ID")
    private String schedulingId;

    @ApiModelProperty(value = "已分摊折扣")
    private String outerDiscountWithTax;

    @ApiModelProperty(value = "主订单号")
    private String orderNo;
}
